package dao.auth;

import java.util.List;
import java.util.Map;

import model.auth.Authorities;
import core.base.page.Page;
import core.base.page.PageRequest;

public interface AuthoritiesDao {
	int insert(Authorities model);

	Authorities getById(Long id);

	int deleteById(Long id);
	
	List<Authorities> queryByProperties(Map filter);
	
	Page<Authorities> queryForPage(PageRequest<Map> pageReq);
}
